#ifndef _GIMBAL_TASK_H_
#define _GIMBAL_TASK_H_

#include "main.h" 

#define GM_YAW_WIDE       3800

#define GM_PITCH_MAXPOS   0
#define GM_PITCH_MINPOS   45

#define Chase_Step				0.4f

#define Top_Angle			4.4f
#define Buttom_Angle -31.25f
#define Freq					3.055f

#define Lob_Shoot_Encoder_Yaw		 				303.526f
#define Lob_Shoot_Encoder_Pitch					3.9f

void GimbalControl(void);

void Gimbal_RC_Mode(void);

void Send_Data_2_Gimbal(void);
void Gimbal_Recieve(void);


extern FP32 Sent_Yaw;
extern int Sent_CNT;

#endif

